package com.tanhua.model.mongo;

/**
 * @Description:
 * @Create by: wanglei
 * @Date: 2021/11/7 11:28
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 每个用户和试卷相关联的表格。
 */
@Document(collection = "user_soul")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserAndSoul implements java.io.Serializable{
    private ObjectId id; //主键id

    private Long userId;  //用户id
    private String soulId;  //试卷ID
    private Integer isLock;  //是否锁住（0解锁，1锁住）
    private String reportId;  //最新报告id

}
